﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Net;
using System.IO;
using System.Xml.Linq;

namespace DailyRssDownload.Lib {
	[Serializable]
	public class RssEntry : Entry {
		public RssEntry(XElement item, Feed objFeed) : base(item, objFeed) {
			Title = item.Element("title").Value;
			Published = DateParser.ParseDateTime(item.Element("pubDate").Value);
			Url = item.Element("link").Value;
			Description = item.Element("description").Value;
			OsSafeTitle = MakeOsSafeName(item.Element("title").Value);
		}
	}
}
